<LayoutEditFormBox :loading="load">

    <template slot="main">
        <el-form ref="editForm" :model="form" label-width="120px" label-position="left">
            <LayoutCell>
                <LayoutCellItem title="业绩奖励设置">
                    <el-form-item label="分红计算方式" prop="achievement_switch" :rules="{ required: true, message: '请选择分红计算方式'}">
                        <el-radio-group v-model="form.achievement_switch">
                            <el-radio :label="1">开启</el-radio>
                            <el-radio :label="2">关闭</el-radio>
                        </el-radio-group>
                    </el-form-item>

                    <el-form-item label="结算周期" prop="settle_cycle" :rules="{ required: true, message: '请选择结算周期'}">
                        <el-radio-group v-model="form.settle_cycle">
                            <el-radio value="周" label="周">周</el-radio>
                            <el-radio value="月" label="月">月</el-radio>
                            <el-radio value="季度" label="季度">季度</el-radio>
                            <el-radio value="年度" label="年度">年度</el-radio>
                        </el-radio-group>
                    </el-form-item>

                    <el-form-item label="奖励时间" prop="award_time" :rules="{ required: true, message: '请选择奖励时间'}">
                        <el-select v-model="form.award_time" style="width:100px"
                            placeholder="时间" clearable>
                            <el-option v-for="item in timeList" :label="item" :value="item"></el-option>
                        </el-select>
                    </el-form-item>
                </LayoutCellItem>

            </LayoutCell>
        </el-form>
    </template>
    <template slot="footer">
        <el-button type="primary" @click="sum()">确定</el-button>
    </template>

</LayoutEditFormBox>